package jupiter.util;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.AbstractCollection;
import java.util.Collection;
import java.util.Iterator;

public class Application {
	static java.util.Properties props = new java.util.Properties();
	static public String getProperty(String propName){
		return props.getProperty(propName);
	}
	static public boolean isNodeList(){
		if(System.getProperty("jetty.app") == null) return false;
		
		return System.getProperty("jetty.app").compareToIgnoreCase("nodeList") == 0;
	}
	static public boolean isJabbifyNode(){
		if(System.getProperty("jetty.app") == null) return true;
		return System.getProperty("jetty.app").compareToIgnoreCase("jabbifyNode") == 0;
	}
}
